//
//  YLReservationRecordTitleCell.m
//  YLFinanceService
//
//  Created by she1323 on 2018/1/17.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "YLReservationRecordTitleCell.h"
#import "YLReservationRecordModel.h"
@interface YLReservationRecordTitleCell()
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *statusLabel;

@end

@implementation YLReservationRecordTitleCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setItem:(YLReservationRecordHeaderItem *)item
{
    _item = item;
    _nameLabel.text = item.name;
    _statusLabel.text = item.status;
}

+ (NSString *)cellID
{
    return @"YLReservationRecordTitleCell";
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
